package mall.service;

import java.util.List;

import mall.pojo.Member;

public interface MemberService {

	public void createMember(Member member);

	public Member checkLogin(String userName, String passWord); // return member
																// object if ok,
																// else return
																// null

	public boolean checkUserNameExist(String userName); // true: exist ,false:
														// not exist

	public List<Member> getListMember();
	
	public Member getMember(int memberId);
	
	public int updateMember(Member member);
	
	
}
